<admintpl file="header" />
<style type="text/css">
.pic-list li {
	margin-bottom: 5px;
}
</style>
<script type="text/javascript"> 
	$(function () { 
	$('#s').change(function() { 
	var jqmianzhi=$('#s option:selected').attr('jqmz'); 
	$("#mz").val(jqmianzhi);
	}) 
	});
	$().ready(function(){
    var op = $('#s option:selected').attr('jqmz');
    $("#mz").val(op);
	});	
</script> 
</head>
<body>	
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Cashimadmin/cashexport')}">现金出库明细</a></li>
			<li class="active"><a href="" target="_self">新增出库</a></li>
		</ul>
		
			<form method="post" class="form-horizontal js-ajax-form" action="{:U('Cashexadmin/add_post')}">
					<fieldset>
						<div class="row">
							<div class="span6">
								<div class="control-group">
									<label class="control-label">钞币名称</label>
									<div class="controls">
									<select name="mingcheng" class="form-control" id="s">
										<option value="100元流通币" jqmz="100" selected="selected">100元流通币</option>
										<volist name="gtype" id="vo">									
										<option value="{$vo.cash_name}" jqmz="{$vo.mianzhi}">{$vo.cash_name}</option>
										</volist>                                 
									</select>
									</div>					
								</div>
							</div>	
							<div class="span6">
								<div class="control-group">
									<label class="control-label">出库对象</label>
									<div class="controls">
									<select name="duixiang" class="form-control">
										<option value="信用社">信用社</option>
										<option value="人民银行">人民银行</option>										                           
									</select>
									</div>	
								</div>
							</div>	
						 </div>		
						 <div class="row">
							 <div class="span6">
								<div class="control-group">
									<label class="control-label">面值</label>
									<div class="controls">
										<input type="text" name="mianzhi" id="mz">
									</div>
								</div>
							</div>	
							<div class="span6">
								<div class="control-group">
									<label class="control-label">数量</label>
									<div class="controls">
										<input type="text" name="shuliang">
									</div>
								</div>
							</div>	
						</div>	
						<div class="row">
							<div class="span6">
								<div class="control-group">
									<label class="control-label">单位</label>
									<div class="controls">
										<select name="danwei" class="form-control">
										<option value="把">把</option>
										<option value="张">张</option>																			                           
										</select>
									</div>
								</div>
							</div>
							<div  class="span6">
								<div class="control-group">
									<label class="control-label">仓库</label>
									<div class="controls">
										<select name="cangku" class="form-control">										
										<option value="2">已清分库</option>																			                           
										</select>
									</div>
								</div>
							</div>	
						</div>															
					</fieldset>
					<div class="form-actions">
						<button type="submit" class="btn btn-primary js-ajax-submit">{:L('ADD')}</button>
						<a class="btn" href="{:U('Cashexadmin/cashimport')}">{:L('BACK')}</a>
					</div>
				</form>
	</div>	
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	
</body>
</html>